home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / miner / goldminer.jar / c.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-01-17  |  995 b   |  43 lines

  1. import java.util.TimerTask;
  2.  
  3. // $FF: renamed from: c
  4. public class class_0 extends TimerTask {
  5.    // $FF: renamed from: a b
  6.    public b field_0;
  7.    // $FF: renamed from: b int
  8.    public int field_1;
  9.  
  10.    public class_0(b var1) {
  11.       this.field_0 = var1;
  12.       this.field_1 = 0;
  13.    }
  14.  
  15.    public void run() {
  16.       this.field_1 += 50;
  17.       switch (this.field_0.a) {
  18.          case 0:
  19.             if (this.field_1 >= 1500) {
  20.                this.field_0.a = 1;
  21.                this.field_0.addCommand(this.field_0.e);
  22.                this.field_0.addCommand(this.field_0.f);
  23.                this.field_0.addCommand(this.field_0.g);
  24.                this.field_0.addCommand(this.field_0.h);
  25.                this.field_0.a();
  26.             }
  27.             break;
  28.          case 2:
  29.             if (this.field_0.r >= this.field_0.d / 2) {
  30.                this.field_0.l.cancel();
  31.                this.field_0.j.d();
  32.             } else {
  33.                b var10000 = this.field_0;
  34.                var10000.r = (short)(var10000.r + this.field_0.d / 15);
  35.                var10000 = this.field_0;
  36.                var10000.s = (short)(var10000.s + this.field_0.c / 15);
  37.                this.field_0.a();
  38.             }
  39.       }
  40.  
  41.    }
  42. }
  43.